﻿namespace Lab2.Classes
{
    public class Shop : SyncObject
    {
        public Shop(IEngine engine) : base(engine)
        {
            Name = "Магазин";
            Queues.Add(new SyncQueue() {Sender = this, Receiver = Engine.Bank});
            Queues.Add(new SyncQueue() {Sender = this, Receiver = Engine.Customer});
        }
    }
}
